<template>
<div class="search">
    <img src="@/assets/logo.png" alt="" @click="$router.push('/')">
    <van-search  @click="$router.push('/search')" placeholder="请输入搜索关键词" left-icon="" right-icon="search" />
</div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.search {
    height: 60px;
    z-index: 10;
    padding: 0 10px;
    display: flex;
    align-items: center;
    width: 100%;
    img {
        width: 45%;
        height: 28px;
        object-fit: contain;
    }
    /deep/ .van-search {
        padding: 0;
    }
}
</style>
